package yanjunwei.rbac.util;

import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;


public class DateTimUtils {
    private static final DateTimeFormatter formatter=DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
    private DateTimUtils(){

    }

    public static String format(LocalDateTime dateTime){

       return dateTime.format(formatter);
    }


}
